<template>
<div>
  <h1>临时管理入口界面</h1>
  <el-button type="primary" @click="toResourceConfirm(data)">资源申请管理</el-button>
  <el-button type="primary" @click="toDataManage(data)">实验数据管理</el-button>
</div>
</template>

<script>
export default {
  name: "MyAdmin",
  data(){
    return{

    }
  },
  methods:{
    toDataManage(data){
      this.$router.push({
        name: "dataManage",
        params: {
          data: data
        }
      })
    },
    toResourceConfirm(data){
      this.$router.push({
        name: "resourceConfirm",
        params: {
          data: data
        }
      })
    },
  }
}
</script>

<style scoped>

</style>